package org.zpmis.domain.org.service.impl;

import org.zpmis.domain.org.dao.SysUserOrgRelationMapper;
import org.zpmis.domain.org.model.SysUserOrgRelation;
import org.zpmis.domain.org.service.SysUserOrgRelationService;
import org.zpmis.common.service.AbstractService;
import org.apache.dubbo.config.annotation.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;


/**
 * Created with CodeGenerator
 * Description:
 * @author  Yang
 * Date: 2021-6-2
 * Time: 14:45:18
 */
@Service
@Transactional
public class SysUserOrgRelationServiceImpl extends AbstractService<SysUserOrgRelation> implements SysUserOrgRelationService {

    @Resource
    private SysUserOrgRelationMapper sysUserOrgRelationMapper;

    @Override
    public void deleteOrgRelationsByUserId(Long sysUserId) {
        sysUserOrgRelationMapper.deleteOrgRelationsByUserId(sysUserId);
    }
}
